test: list.o flight.o login.o
	$(CC) -o $@ $^
list.o: list.c
	$(CC) -c $^ -o $@
flight.o: flight.c
	$(CC) -c $^ -o $@
login.o: login.c
	$(CC) -c $^ -o $@
clean:
	rm *.o test